package patterns.builder;

/**
 * Created by lenovo on 2016/11/23 0023.
 * 饮料类，抽象，属于基本组件类，所以实现Item
 */
public abstract class Drink implements Item {
    //实现包装方式
    @Override
    public IPackMode packMode(){
        return new Bottle();
    }
    //价格有子类具体决定
    @Override
    public abstract float price();
}
